Adwaita: explicitelly set label caret-color to currentColor
authorLapo Calamandrei <calamandrei@gmail.com>
Mon, 30 May 2016 12:20:33 +0000 (14:20 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Mon, 30 May 2016 12:20:33 +0000 (14:20 +0200)
since it doesn't always inherit 'color' color as it should.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index f477e7e3bd4add914cd01de94f18ea50c3001aec..5855913d3ac9073e7b95be6a4e43baede79910b2 100644 (file)
@@ -144,6 +144,8 @@ flowbox {
 }
 
 label {
+  caret-color: currentColor; // this shouldn't be needed.
+
   &.separator {
     @extend .dim-label;
 
index ffc271d763c20287fca52256ba608389b05d893a..9a855369fedfddd7c93513223adbc60f208c940c 100644 (file)
@@ -90,19 +90,21 @@ flowbox flowboxchild {
   flowbox flowboxchild:selected {
     outline-offset: -2px; }
 
-label.separator {
-  color: #eeeeec; }
-  label.separator:backdrop {
+label {
+  caret-color: currentColor; }
+  label.separator {
+    color: #eeeeec; }
+    label.separator:backdrop {
+      color: #919494; }
+  label selection {
+    background-color: #215d9c;
+    color: #ffffff; }
+  label:disabled {
+    color: #919494; }
+    label:disabled:backdrop {
+      color: #566164; }
+  label:backdrop {
     color: #919494; }
-label selection {
-  background-color: #215d9c;
-  color: #ffffff; }
-label:disabled {
-  color: #919494; }
-  label:disabled:backdrop {
-    color: #566164; }
-label:backdrop {
-  color: #919494; }
 
 .dim-label, label.separator, .titlebar:not(headerbar) .subtitle,
 headerbar .subtitle {
index 3d8680c55a48220609aab5e6d57c020b0628e844..4a7ccc779fe3d60c343470d2cdf3ee8059aeacd6 100644 (file)
@@ -90,19 +90,21 @@ flowbox flowboxchild {
   flowbox flowboxchild:selected {
     outline-offset: -2px; }
 
-label.separator {
-  color: #2e3436; }
-  label.separator:backdrop {
+label {
+  caret-color: currentColor; }
+  label.separator {
+    color: #2e3436; }
+    label.separator:backdrop {
+      color: #8b8e8f; }
+  label selection {
+    background-color: #4a90d9;
+    color: #ffffff; }
+  label:disabled {
+    color: #8b8e8f; }
+    label:disabled:backdrop {
+      color: #c3c3c0; }
+  label:backdrop {
     color: #8b8e8f; }
-label selection {
-  background-color: #4a90d9;
-  color: #ffffff; }
-label:disabled {
-  color: #8b8e8f; }
-  label:disabled:backdrop {
-    color: #c3c3c0; }
-label:backdrop {
-  color: #8b8e8f; }
 
 .dim-label, label.separator, .titlebar:not(headerbar) .subtitle,
 headerbar .subtitle {